Fixed communication with socket.io and timestamps