updated httpclient for new logging.