added CURLOPT_DEBUGFUNCTION