Update DTLS code to match CBC decoding in TLS.