Started websockets, refactor

* Began to implement websocket compatability
* Wrote test page based on github/ukai/go-websocket-sample