Rebuild the debug property from the raw headers passed to the new CURLOPT_HEADERFUNCTION and the response body. This will match the raw HTTP response more than previously. It will also contain all the redirecting steps and HTTP status lines.