Fix for older versions of cURL

This is basically the same fix as https://github.com/guzzle/guzzle/pull/463, since that didn't get into the new RingPHP codebase :)
Not according to the manual http://php.net/manual/en/function.defined.php