Fixed #1 - Turn TODOs into issues
Fixed #22 - Corrected .travis.yml

Travis-ci wasn't running because of poor syntax and a number of other nits.
Fixes client websocket authentication to send the token as the first step
Move syncmessage.js to lib and change references to it
Add complete websocket server implementation