fix app.listen to comply with heroku requirements