Groupping of message headers based on their content type