TcpSocketMonitor: add polling loop

TcpSocketMonitor starts a sock_diag polling thread in its ctor whose
polling interval can be controlled with setPollingInterval() and
suspendPolling().

Initially the polling thread will immediately be suspended. The polling
thread is automatically started when 1 or more physical network exists,
and automatically stopped when there is 0 physical networks.

By default the polling interval is set to 30 secs.

Also fix some code indentation issues.

Bug: 64147860
Test: tested manually, watching the result of
      $ adb shell dumpsys netd tcp_socket_info
Change-Id: I7fe356a0a073ebc83486bc774a3002648e9dd457
diff --git a/server/NetworkController.h b/server/NetworkController.h
index 378c9f1..627e44d 100644
--- a/server/NetworkController.h
+++ b/server/NetworkController.h
@@ -146,6 +146,7 @@
     int modifyRoute(unsigned netId, const char* interface, const char* destination,
                     const char* nexthop, bool add, bool legacy, uid_t uid) WARN_UNUSED_RESULT;
     int modifyFallthroughLocked(unsigned vpnNetId, bool add) WARN_UNUSED_RESULT;
+    void updateTcpSocketMonitorPolling();
 
     class DelegateImpl;
     DelegateImpl* const mDelegateImpl;