Decompress a gzip_packed payload. Tries gzip first (the standard
format); if that fails or yields nothing, retries as raw zlib (no gzip
header) before giving up.
Apply ±20 % random jitter to a backoff delay.
Prevents thundering-herd when many clients reconnect simultaneously
(e.g. after a server restart or a shared network outage).
Decode a TL bytes value: the read-side counterpart to tl_write_bytes.
Returns None on a truncated or malformed length prefix. Doesn’t skip the
4-byte alignment padding TL normally adds after the payload, since this is
only used to unwrap gzip_packed’s single trailing field.