fix leave headers intact (or bad things will happen)
Merge pull request #5 from filiptc/master

Fix to my last PR