When invoked with no parameters, this method returns the default port for the URL defined
in the object. The default port is based on the scheme used. Even if the port for
the URL is explicitly changed by the user with the port method, the default
port is always the same.