switched to using EM::WebSocket