add pipe support

Daemon now creates and listens on a pipe.  Receiving "exit" currently
exits.  Soon what we want is for scripts to be executed by name instead.