cast ssl version

need be "long", http://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html