add socket client & server