[code] socket control and hotplug daemon

Signed-off-by: Paul Zhang <challengezcy@163.com>