some work on HttpClient mainly