describe socket client and server