verify DTLS certificate to ensure trust before handshaking