Add the pipe device

This caught some wrong bits in the various functions
related to perrbuf.

Does it work? I can't tell. But if we get this going
devether will also be easier.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>