Add private function for creating the default HTTP header.