Feature/read content length

Is this left over from header parsing?  The ltrim doesn't seem right to me.