code: function WebSocket(socket, ctx) {
    if (!(this instanceof WebSocket))
      return new WebSocket(socket, ctx);
  
    EventEmitter.call(this);
  
    this.context = ctx;
    this.socket = socket;
    this.remoteAddress = socket.conn.remoteAddress;
    this.hooks = Object.create(null);
    this.channels = new Map();
    this.auth = false;
    this.filter = null;
    this.prev = null;
    this.next = null;
  
    this.init();
  }
docs: WebSocket
  @constructor
  @ignore
  @param {SocketIO.Socket}