Simple Java chat on socket with primitive GUI