Correctly handle PORT env variable