Fixing over-rides of public port so that they don't result in mis-matched host names

Due to Request.Host including the port in the returned hostname, this code fixes issues with hostname matching when you're working locally or on a port other than 80.