Fixup tarball rewrites to take into account client's requested host, not internal protocol/host/port. Also renamed filterHeader to isValidHeader for clarity.
Merge pull request #33 from tlivings/fix-tarball-hostinfo

Fixup tarball rewrites to take into account client's requested host