added new websocket code in client, moved some duplicate code into shared utils
Merge branch 'master' of https://github.com/tnix/solar-void