Replace SSE with WebSocket

WIP

* Replacing SSE with WS
* Introducing message parsing to replace HTTP