code: function cmd(method, params, callback, streamResults, returnRawData){
  
          var results = [];
  
          async.each(instances, function(instance, eachCallback){
  
              var itemFinished = function(error, result, data){
  
                  var returnObj = {
                      error: error,
                      response: (result || {}).result,
                      instance: instance
                  };
                  if (returnRawData) returnObj.data = data;
                  if (streamResults) callback(returnObj);
                  else results.push(returnObj);
                  eachCallback();
                  itemFinished = function(){};
              };
  
              var requestJson = JSON.stringify({
                  method: method,
                  params: params,
                  id: Date.now() + Math.floor(Math.random() * 10)
              });
  
              performHttpRequest(instance, requestJson, function(error, result, data){
                  itemFinished(error, result, data);
              });
  
  
          }, function(){
              if (!streamResults){
                  callback(results);
              }
          });
  
      }
docs: /* Sends a JSON RPC (http://json-rpc.org/wiki/specification) command to every configured daemon.
  The callback function is fired once with the result from each daemon unless streamResults is
  set to true.