add counting content-length for streaming requests