Generic interruptible "parser" mixin for Transform & Writable streams