- reset CURLOPT_CUSTOMREQUEST at the correct places