DTLS IO and cookie callbacks are IPv4/IPv6 agnostic.