adding initial WebSocket support