tuning httpClient configuration