HPCC-0000 Improved straming support, and fix regressions

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>