Example of using websockets in Erlang