Connection timeout for HttpClient

The httpclient module did not have support for read/connect timeouts. This pull request adds that capability.