dtls1_write_bytes consumers expect amount of bytes written per call, not