adds non blocking pipe feeding option
fixes code example type
cleans pipe interface, feeder function injectable
Merge pull request #1 from benedekfazekas/master

adds non blocking feeding option