CURLOPT_SSL_VERIFYHOST with value 1 is deprecated

CURLOPT_SSL_VERIFYHOST with value 1 is deprecated and will be removed as of libcurl 7.28.1. It is recommended to use value 2 instead

Fixes a potential bug if users are using libcurl >= 7.28.1.