rewrite websocket server in go
Merge pull request #6 from rmmh/master

rewrite websocket server in go