rewrite the host request header