send(socket: WebSocket,data: ServerToClientMessage): void
Sends data to one socket unless it is closing. The WebSocket route answers
a client's own message with it: a pong, a vote's ack, an error.
socket: WebSocket
data: ServerToClientMessage