debugging cURL requests