Fix custom headers
Merge pull request #152 from rowanhill/fix-custom-headers

Fix custom headers