Fix CURLOPT_SSL_VERIFYHOST value

Value of 1 is not supported in newer cURL library so switching to 2 for CURLOPT_SSL_VERIFYHOST when verifyHost is enabled.