code: function Connection(ws, logger) {
          events.EventEmitter.call(this);
  
          this._ws = ws;
          this._logger = logger;
          this._connected = true;
  
          this._ws.on("message", this._receive.bind(this));
          this._ws.once("close", this.close.bind(this));
      }
docs: @private
  @constructor
  A WebSocket connection to a client. This is a private constructor.
  Callers should use the ConnectionManager.createConnection function
  instead.
  
  @param {WebSocket} ws The WebSocket representing the client
  @param {Logger} logger