Using defined() rather than version_compare for CURLOPT_PROTOCOLS