Do not hardcode CURL's request timeout, added ability to set custom timeout

Commit https://github.com/facebook/php-webdriver/commit/f666d1d41aebc9b663ed20a2ffe748d9a34a29f5 hardcoded curl's request request timeout to 300 seconds. 

But if you use Selenium in grid mode and have a long queue of waiting requests, it could take much longer than 5 minutes until the session create request is finished on the Selenium hub and the sessionId is acquired.  So you have to overwrite the timeout to something more reasonable than 300 seconds, what is now impossible in current master.
This is incorrect because the `$timeout_in_ms` here is for connection merely. I will remove it when merging the pull request.