Added method to set the ssl version for CURLOPT