Simple websocket implementation in ruby.