Chat client for school project, written in Java 1.6