use jersey client instead of httpClient 3.1