code: function Proxy(host, port, user, pass) {
    if (!(this instanceof Proxy))
      return new Proxy(host, port, user, pass);
  
    EventEmitter.call(this);
  
    assert(typeof host === 'string');
    assert(typeof port === 'number');
  
    this.socket = null;
    this.host = host;
    this.port = port;
    this.username = user || null;
    this.password = pass || null;
    this.bytesWritten = 0;
    this.bytesRead = 0;
    this.remoteAddress = null;
    this.remotePort = 0;
    this.ops = [];
  }
docs: Proxy Socket
  @constructor
  @param {String} host
  @param {Number} port
  @param {String?} user
  @param {String?} pass