Student project, server in Java for a text-based chat