httpcustomheader.c: make use of more CURLOPT_HTTPHEADER features

... and only do a single request for clarity.