Executes DelegatedTask
synchronized (handshaker) {
try {
AccessController.doPrivileged(action, context);
} catch (PrivilegedActionException e) {
// pass exception to HandshakeProtocol
handshaker.delegatedTaskErr = e.getException();
} catch (RuntimeException e) {
// pass exception to HandshakeProtocol
handshaker.delegatedTaskErr = e;
}
}