Add ticket length before buffering DTLS message