Fixes NullPointerExceptions in DTLS-SRTP.