Fix Issue #12, should not panic when parsing headers