Refactor capnp transport to a separate module.