lib/connection.js
function write(data, cb) {
  if(this._tcp) {
    //this.emit('output', data);
    this.encoder.write(data, cb);
  }else{
    this._socket.write.call(this._socket, data, cb);
  }
}
function write(data, cb) {
  if(this._tcp) {
    //this.emit('output', data);
    this.encoder.write(data, cb);
  }else{
    this._socket.write.call(this._socket, data, cb);
  }
}
function write ( data , cb ) { if ( this . _tcp ) { //this.emit('output', data); this . encoder . write ( data , cb ) ; } else { this . _socket . write . call ( this . _socket , data , cb ) ; } }
Proxy write to the underlying socket.
Proxy write to the underlying socket .