OpenSSL supports TLSv1.3 record padding:
but I'm not sure if it works like I think it does. If I would choose a factor of 2 it would make the record (=packet/payload length???) twice the original size. Is that correct? If so, wouldn't random padding be better? Otherwise you could just divide the packet by 2,3,4 ... to get to the real value?