fixes http->https redirect issues, and redirecting host / mis-entered host issues