Got the pure Java implementation mostly working; there are still some issues with using the channel on more than 2 pipelines.