change CURLOPT_SSL_VERIFYHOST

CURLOPT_SSL_VERIFYHOST should be set to a value of 2 in production environments.

See: http://php.net/manual/en/function.curl-setopt.php