tweaked curl_ssl_verifypeer

changed to 2, to resolve issue CURLOPT_SSL_VERIFYHOST set to true which
disables common name validation (setting CURLOPT_SSL_VERIFYHOST to 2
enables common name validation)