CLI Socket server with client connection