Add retryOnTimeout wrapper around HTTP request
Add retryOnTimeout wrapper around HTTP request

Chrome seems to hang occasionally on startup. This is happening more and more
frequently and causing many test runs to fail.

This adds a retry loop around the HTTP request that goes to the WebDriver server
which should help to mitigate the problem.

kallisti-dev/hs-webdriver,zerobuzz/hs-webdriver,kallisti-dev/hs-webdriver,zerobuzz/hs-webdriver