Update Http.request in default.rb to include a delay in retries
Update Http.request in default.rb to include a delay in retries

Update Http.request to include a sleep between retries for cases where Errno::ECONNABORTED, Errno::ECONNRESET, Errno::EADDRINUSE occur.   Without this sleep the retries happen immediately and do not give the remote host and/or connection to it, any time to resolve the connection issue.  This results in seemingly random connection problems and test failures when using Selenium Webdriver in a grid setup with 1000s of connections running simultaneously.

Signed-off-by: Alex Rodionov <c428fb87124f61eee6b049825877188ec2bd38d3@gmail.com>

Dude-X/selenium,krmahadevan/selenium,valfirst/selenium,chrisblock/selenium,oddui/selenium,SeleniumHQ/selenium,joshmgrant/selenium,asolntsev/selenium,jsakamoto/selenium,joshbruning/selenium,valfirst/selenium,chrisblock/selenium,joshmgrant/selenium,5hawnknight/selenium,lmtierney/selenium,jsakamoto/selenium,joshmgrant/selenium,Dude-X/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,lmtierney/selenium,asolntsev/selenium,jsakamoto/selenium,chrisblock/selenium,joshmgrant/selenium,Ardesco/selenium,asolntsev/selenium,Dude-X/selenium,twalpole/selenium,joshmgrant/selenium,davehunt/selenium,joshbruning/selenium,jsakamoto/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,lmtierney/selenium,krmahadevan/selenium,krmahadevan/selenium,twalpole/selenium,valfirst/selenium,jsakamoto/selenium,SeleniumHQ/selenium,twalpole/selenium,5hawnknight/selenium,Ardesco/selenium,lmtierney/selenium,5hawnknight/selenium,oddui/selenium,joshmgrant/selenium,mach6/selenium,Dude-X/selenium,oddui/selenium,titusfortner/selenium,oddui/selenium,oddui/selenium,5hawnknight/selenium,krmahadevan/selenium,valfirst/selenium,mach6/selenium,joshmgrant/selenium,Ardesco/selenium,chrisblock/selenium,mach6/selenium,HtmlUnit/selenium,asashour/selenium,asashour/selenium,Dude-X/selenium,mach6/selenium,krmahadevan/selenium,titusfortner/selenium,krmahadevan/selenium,jsakamoto/selenium,titusfortner/selenium,krmahadevan/selenium,HtmlUnit/selenium,chrisblock/selenium,titusfortner/selenium,davehunt/selenium,joshmgrant/selenium,Ardesco/selenium,twalpole/selenium,asashour/selenium,valfirst/selenium,jabbrwcky/selenium,SeleniumHQ/selenium,joshbruning/selenium,oddui/selenium,jsakamoto/selenium,jabbrwcky/selenium,jsakamoto/selenium,titusfortner/selenium,lmtierney/selenium,Ardesco/selenium,joshmgrant/selenium,valfirst/selenium,joshbruning/selenium,Ardesco/selenium,twalpole/selenium,jabbrwcky/selenium,joshbruning/selenium,asolntsev/selenium,joshmgrant/selenium,mach6/selenium,jabbrwcky/selenium,HtmlUnit/selenium,titusfortner/selenium,SeleniumHQ/selenium,asashour/selenium,oddui/selenium,davehunt/selenium,asolntsev/selenium,5hawnknight/selenium,lmtierney/selenium,asolntsev/selenium,jsakamoto/selenium,davehunt/selenium,twalpole/selenium,HtmlUnit/selenium,Dude-X/selenium,titusfortner/selenium,5hawnknight/selenium,valfirst/selenium,Dude-X/selenium,asashour/selenium,valfirst/selenium,oddui/selenium,mach6/selenium,davehunt/selenium,davehunt/selenium,asolntsev/selenium,mach6/selenium,titusfortner/selenium,joshbruning/selenium,twalpole/selenium,HtmlUnit/selenium,krmahadevan/selenium,mach6/selenium,twalpole/selenium,davehunt/selenium,5hawnknight/selenium,joshbruning/selenium,Dude-X/selenium,joshbruning/selenium,Ardesco/selenium,valfirst/selenium,krmahadevan/selenium,jabbrwcky/selenium,HtmlUnit/selenium,chrisblock/selenium,mach6/selenium,HtmlUnit/selenium,titusfortner/selenium,titusfortner/selenium,lmtierney/selenium,chrisblock/selenium,davehunt/selenium,SeleniumHQ/selenium,jabbrwcky/selenium,jabbrwcky/selenium,valfirst/selenium,jabbrwcky/selenium,twalpole/selenium,joshmgrant/selenium,Ardesco/selenium,SeleniumHQ/selenium,asashour/selenium,jabbrwcky/selenium,titusfortner/selenium,HtmlUnit/selenium,lmtierney/selenium,asolntsev/selenium,asashour/selenium,asashour/selenium,Dude-X/selenium,asolntsev/selenium,joshbruning/selenium,asashour/selenium,chrisblock/selenium,lmtierney/selenium,5hawnknight/selenium,SeleniumHQ/selenium,Ardesco/selenium,5hawnknight/selenium,oddui/selenium,valfirst/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,davehunt/selenium,chrisblock/selenium