A minor point, in case anyone hadn't noticed: the "encoded-variable" approach does not suffer from the "only 14 headers can be extended" problem.