Added initial implementations of stdin InputStream and stdout/stderr OutputStreams

Let me know if this seems worthwhile - I tend to use similar functionality for node.js pipelines from stdin and to stdout/stderr fairly often.