A simple client-server chat application in Java