Java chat with client as applet