Allow optional $PORT for server.