Make connect and read timeouts configurable.