final Socket toTarget = target.getSocketToUser();
final Message connectionRequest = MessageStaticFactory.newSTUNMessageInstance(STUNMessageClass.REQUEST,
STUNMessageMethod.CONNECTION_REQUEST, connectionRequestFromSource.getHeader().getTransactionId());
connectionRequest.addAttribute(new DirectconnectionAttribute());
logger.debug("Forwarding connection request to target"); //$NON-NLS-1$
connectionRequest.writeTo(toTarget.getOutputStream());
}
private void sendFailureResponse(final Message message, final String errorReaon, final STUNErrorCode errorCode,
final OutputStream out) throws Exception {
logger.debug(errorReaon);