Merge changes I8ce4e841,I1191d97c,I1d22b2bc

* changes:
  netd: Tweak .clang-format to match current style
  netd: Drop -Wno-varargs from CPPFLAGS and CFLAGS
  netd: Enable clang-tidy and fix all warnings