implement http request body log, borrow some code from LogBack