WIP: Use new libchan interface

Not quite ready yet - a few `panic("not implemented")`s still in there.

Summary of the important changes to libchan:

- Messages are now arbitrary structs, **which can contain channels and byte streams** (libchan.Sender, libchan.Receiver, io.ReadWriteCloser). libchan encodes and decodes them using msgpack.
- Conveniences such as `Ret`, `RetPipe` and `Handler` are gone, so they are implemented in libswarm.