Add logging to HttpClient