This seems a bit redundant, but `#request_params` will set `params[:port]` to `nil` if the port is the default for the scheme.
`#signed_url` also uses `#request_params` and the test for `#get_object_http_url` does not expect the URL to contain the port.
This seemed a cleaner solution that omitting `:#{port}` from the connection URI, but that could be just as simple if the redirect
connection below ends up using `uri.port`.