#34 do not crash on invalid header format