StreamBody: Fix behavior to support upload chunking on undefined stream lengths

Change-Id: I13ec2509a94c477c7b5bd5a10242f00189e4ad85