Allow connection timeout to be specified for REST client.