fix HTTP 301 redirect, set the Host explicitly