Server: logs errors in the send method

Instead of crashing the server when we try to send data via a non existant
websocket, we log an error and do nothing.