Added WebSocket support for multiplayer