Simplified websocket logic. Removed dependencies on tornadio, zeroMQ, and socket.io.