s.connect(relayServerEndpoint);
MessageWriter dataConnectionWriter = new MessageWriter(s.getOutputStream());
Message connectionBindRequestMessage = MessageStaticFactory.newSTUNMessageInstance(
STUNMessageClass.REQUEST, RelayingMethod.CONNECTION_BIND);
connectionBindRequestMessage.addAttribute(new Token(message.getAttribute(Token.class).getToken()));
dataConnectionWriter.writeMessage(connectionBindRequestMessage);
// TODO erfolgs oder fehlermeldung abwarten
socketQueue.add(s);
} else if (message.isMethod(STUNMessageMethod.KEEP_ALIVE) && message.isSuccessResponse()) {
int lifetime = message.getAttribute(RelayingLifetime.class).getLifeTime();
logger.debug("Received lifetime response {}", lifetime);