Set cURL request header according to attribute headers

Property definitions

curl $ CurlHTTPRequest :: set_curl_http_header
	# Set cURL request header according to attribute headers
	private fun set_curl_http_header : CURLCode
	do
		var headers = self.headers
		if headers != null then
			var headers_joined = headers.join_pairs(": ")
			var err = self.curl.native.easy_setopt(new CURLOption.httpheader, headers_joined.to_curlslist)
			if not err.is_ok then return err
		end
		return new CURLCode.ok
	end
lib/curl/curl.nit:265,2--275,4