Refactored header parsing for BodyPart.