Handle request.body being a StringIO when logging it

- need to read it, not log the object
- need to rewind it before and after reading it so that it can be read again