Adding basic WebSocket support.
Streaming event stream to console.log via WebSocket.