Surround socket.io with http server for heroku

To run on heroku, socket.io server needs to be proxied to via an http
server.