rename function to make it clear it deals with headers only
quoted printable parsing would fail if a carriage return was splitting a multibyte section. do the carriage returns resolution in a first pass before the actual parsing to sort this out.