Add option to enable trusted HTTP redirects