timeout and open_timeout options for connections

Geoff from Openera here.

I intend to implement a pull request that reproduces this one: https://github.com/contextio/Ruby-ContextIO/pull/6 in your new codebase

That one one only covers timeout. adding open_timeout also