Bug fix header parsing, if no msg is returned
Merge pull request #8 from giffels/mydev

Bug fix header parsing, if no msg is returned