Fixes #98 header parsing issue
Merge pull request #112 from localmed/fix-headers

Fixes #98 header parsing issue