Support for connect timeout

add_pool/9 added with an argument for a connect timeout, which defaults
to infinity (same as pervious behavior).