code: function ReadChannel(pipe) {
    this.pipe = pipe;
    this.parser = new PipeParser();
    this.parser.on("message", function(msg) { this.emit("message",msg); }.bind(this));
    this.parser.on("error", function(error) { this.emit("error",error); }.bind(this));
    this.prepare();
  }
docs: setup a pipe for receiving messages from another process over a pipe emits: message: a complete message error: an error in the message passing e.g. malformated boundary end: stream was closed