initial version of HttpClient