Allow empty headers.
Merge pull request #496 from bocal/empty_headers

 Allow empty headers.