Add a Redirector implementation secured against Open Redirects and HTTPS Downgrading