Add socket client and server