ERROR on failure.
DtlsEngine.handshake
TlsProgress handshake()Drives the DTLS client handshake.
Call repeatedly until TlsProgress.DONE is returned. Between calls, wait for socket readiness as indicated by the progress value.
Returns
DONE when handshake completes, NEED_READ/NEED_WRITE for I/O,