Test that proxying to subdomains uses the right host.