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.
Server: add a test for User#send errors
Fix a jshint
Merge pull request #201 from tOkeshu/log-ws-send-errors

Server: log errors in the send method