cleanup networking api, rest and cli and unittest
43 files changed