Implements a future plexer

As discussed on IRC, here's the "future plexer". The implementation is a little bit rough and the specs could be better, but it should be good enough to serve as the basis for a more complete implementation.