Refine HTTP modifications from JoshBones.
Merge pull request #1 from treshugart/GH-42

Refine HTTP modifications from JoshBones.