CURLOPT_SSL_VERIFYHOST is an integer option.  Set it to 0 instead.