Add socket manager
Signed-off-by: Mark <markle12@gmail.com>