socket does not auto encode/decode JSON
make encode / decode client properties
add msgpack support

make a config call with params.encoding = 'msgpack' to the daemon to
change the encoding of a peer.