Infer shared secret from channel
Swap msgpack for cbor and add more tests