Set CURLOPT_CERTINFO option only if it is available on the host
Correct identation
Merge pull request #2 from owncloud/curl_check

 Set CURLOPT_CERTINFO option if it is provided with the cURL