Adapted for Heroku. Switch to reconnecting-websocket