Added support for heroku (envvar based urls, heartbeat for ws)