WebSocket Server and Client implementation in Erlang/Mochiweb