add support for getaddr, also fix bug with unsigned byte check in
VariableInteger