helpers for power users of node.js streams