Do not use DTLS from OpenSSL. It is crap.