stream: use validateObject for zlib/iter params