add content-length accessor