CURLOPT_CONNECTTIMEOUT_MS is undefined in some versions of PHP

For some reasons, CURLOPT_CONNECTTIMEOUT_MS is undefined and it is
a bug in some versions of php.

Bug reports,
https://www.mail-archive.com/wikibugs-l@lists.wikimedia.org/msg312672.html

Issue on facebook/php-webdriver,
https://github.com/facebook/php-webdriver/issues/154

Issue on Codeception/Codeception,
https://github.com/Codeception/Codeception/issues/1116