A simple chat client written in Java