MessageStream ms = new MessageStream(server);
MessageHandler.subscribe(DirectBrowseAckMessage.TYPE, ms);
MessageHandler.subscribe(DirectBrowseErrorMessage.TYPE, ms);
server.send(new DirectBrowseRequestMessage(getUser().getName()));
// wait for ack
IOException e = null;
long startTime = System.currentTimeMillis();
while (true) {