WIP: V0.6 Conduit API

See mirage/mirage#287 for the overall issue about this.  This is not to be merged just yet.