Adding WebSocket support for remote clients.