code: function ()
      {
          this._proto._reset();
  
          // SASL
          this.do_session = false;
          this.do_bind = false;
  
          // handler lists
          this.timedHandlers = [];
          this.handlers = [];
          this.removeTimeds = [];
          this.removeHandlers = [];
          this.addTimeds = [];
          this.addHandlers = [];
          this._authentication = {};
  
          this.authenticated = false;
          this.disconnecting = false;
          this.connected = false;
  
          this._data = [];
          this._requests = [];
          this._uniqueId = 0;
      }
docs: Function: reset
  Reset the connection.
  
  This function should be called after a connection is disconnected
  before that connection is reused.