Stream piping.

Adds capability to pipe input from one stream to another.
Merge pull request #85 from peelonet/stream-pipes

Stream piping.