http to https redirect support