Simple chat client for learning purposes