This makes it possible to show content length when writing the access log.
It turns out WriterProxy is pretty generally useful, especially when defining custom http loggers. Expose it in a util package so that other packages can use it.