Update server.coffee

restarting server on socket connection errors