sample chat server and chat client built in java