Set CURLOPT_CERTINFO option if it is provided with the cURL

Check cURL version for CURLOPT_CERTINFO option. Skip it if cURL is too old.
First step to fix https://github.com/owncloud/core/issues/1440