Set curl options CURLOPT_SSL_VERIFYHOST to use value 1 instead of 2
Explanation:1 to check the existence of a common name in the SSL peer
certificate. 2 to check the existence of a common name and also verify
that it matches the hostname provided. In production environments the
value of this option should be kept at 2 (default value).
Merge pull request #324 from kaltura/IX-9.3.0-SUP-931-curl-verify-host-name

Set curl options CURLOPT_SSL_VERIFYHOST to use value 1 instead of 2