Rewrite only SSL wp_redirect calls

This fixes issues with using wp_redirect on front end