Added more bounds checking when saving a DTLS message fragment.