Add BytesWritten() method to WriterProxy.

This makes it possible to show content length when writing the access log.
Merge pull request #69 from mredivo/master

Add BytesWritten() method to WriterProxy.