fix #596: incorrect processing of variable-length quantity in http/2 hpack.