a simple cmd socket chat server and client