Fixes client websocket authentication to send the token as the first step
Add complete websocket server implementation
Move syncmessage.js to lib and change references to it