Added code to the CurlCall and HttpPost to handle the header information.