support bash pipelining

The following now works as well in bash as in node:

    node examples/fetch.js ... | node examples/cli.js