displaying errno with cURL exception