Resolve the HTTP listen port from CLI arguments and environment.
CLI arguments to inspect first.
Environment object used for PORT fallback.
PORT
Valid HTTP listen port.
PortUsageError when the selected port is invalid.
Resolve the HTTP listen port from CLI arguments and environment.