FIX Host: header handling in proxy mode.

This fixes GH-101 (cross-domain redirects in proxy mode)
and probably some other issues.