add a websocket flag to enable all these socket.io things