added compression support to HttpClient