function WebSocketServer(httpServer) {
  EventSource.apply(this);
  httpServer.addEventListener('upgrade', this.upgradeToWebSocket_.bind(this));
}
Constructs a server which is capable of accepting WebSocket connections.
@param {HttpServer} httpServer The Http Server to listen and handle
    WebSocket upgrade requests on.
@constructor