Extracted default HTTP header creation into a public class method.