Sosistab2 is a vaguely QUIC-like datagram transport framework. Over a single Multiplex
session, it multiplexes streams that support both reliable TCP-like bytestreams and UDP-like unreliable datagrams.
The cool feature, and key innovation over the legacy sosistab protocol, is that the same Multiplex
can be backed by multiple "pipes". Pipes implement the Pipe
trait and are a simple abstraction over an unreliable datagram transport. A Multiplex
will intelligently decide what pipe to send its traffic down, and automatically avoids non-functional pipes. The Multiplex
also maintains end-to-end encryption using chacha20-poly1305 with a triple-x25519 key exchange, and does not trust the Pipe
s for confidentiality, integrity, or authentication in any way.