#31: Adding configurable redirect mechanism for HTTP -> HTTPS