Replaced websocket implementation with simple TCP server