Workaround to get port 80 working with SSL

This is not a fix but will solve the issue of port 80 not working when SSL is added for the domain and port override is active for port 443. This fix is not enabled when port 80 is forwarded to the overridden
port.