conduit 1.0 support

This patch retains compatibility with conduit 0.5 as well.