fix(app.js): parse node.env.PORT

Parse node.env.PORT as an integer so that it succeeds comparison with
port in use and is not logged as an error.