Minimal implementation for socket_server
Minimal implementation for socket_client