Add option for https redirect via X-Forwarded-Proto