Polytech' project. Chat in Java