Add support for specifying protocol when redirecting host