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).