Working version of basic websocket and sockjs