Socket chat program using the Java