code: function addToBacklog (client, backlog, method, parameters) {
      if (!client.isConnected() ) {
          backlog.push({
              op : method,
              params : parameters
          });
          return true;
      }
      return false;
  }
docs: Helper method that queues operations into the backlog. This method is used to make `connect` "synchronous" by queueing up operations on the client until it is connected.  @param {string} method  - the method that needs to be added to the backlog @param {Array} parameters - parameters to the method being added to the backlog @returns {boolean} true if the method was successfully added, false otherwise