Implement new dbus-json3 protocol

This is a simpler protocol design reached by experience. Initially just code that compiles here, not run or tested yet, but available for looking at the design. Documented in doc/protocol.md