Mostly works now. Doesn't record request size correctly. Need to think about how to do that best.