Fix a crash when parsing empty HTTP headers