Improving handling of CURLOPT_SSL_VERIFYPEER