multiQueue = q;
nickname = String.format("Anonymous%05d", nickend);
clientMessages = new SafeMessageQueue<Message>();
q.register(clientMessages);
StatusMessage connected = new StatusMessage(String.format(
"%s connected from %s.", nickname, s.getInetAddress()
.getHostName()));
multiQueue.put(connected);
sender = new Thread(new SenderTask(this));