Stop accepting bad headers; fixes #369
Merge pull request #370 from gittip/issue369

Stop accepting bad headers; fixes #369