Update server.coffee

Patched to use Websockets rather than continuous HTTP requests.