websocket client for erlang using an interface similar to gen_tcp.