Simple Java-based chat system