Error in handling of port for https schema

If no port was specified the port parameter would return 80 instead of the 443 default port as per RFC.