A Java chat-application implemented with sockets