Verify SSL certificate when using cURL