fix: take into account var_int for `addr`. move to parser.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
0.11.1