A client server chat client in java