Added HTTP to HTTPS redirection with path resolution.