log req/res pairs in http client