added getRemainbuf to zlibRStream(needs testing)
make init for zlib streams templated