CURL and PECL_HTTP adapters set connection timeout and dns cache timeout

Hi,

Can we merge this to master?