Added a websocket API and a basic browserify build.