Separating delayed response from socket behavior as it's all js now.
Replacing websocket with socket.io for improved tolerance.