log warning on bad header read
Merge pull request #2 from bhomnick/master

log warning on bad header read