code: function Connection (remote, options) {
    EventEmitter.call(this);
  
    if (remote[remote.length - 1] === '/') {
      remote = remote.substr(0, remote.length - 1);
    }
  
    this._remote = remote;
    this._retry = options.retry || 3;
    this._options = options || {};
    this._request_internal = createInternalConnection(options.mode);
  }
docs: Connection object
  
  @constructor
  @class Connection
  @module System
  @param {String|Object} remote
  @param {Object} options
  @param {String} options.mode
  @param {int} [options.retry=3]
  @param {String} [options.logDir]
  @param {Boolean} [options.logScreen=false]