Added support for configuration of connect and read timeouts