Adapt sync to use new ndn.cxx api
23 files changed