InputStreamDataEmitter fixes:
resume() needs to actually resume.
Use a smarter allocator.

Change-Id: Icc48b2df01c7873dc53c6d742359a1ab604d5d46