packet lib: change the api to use text addresses like '10.0.0.1'

an exception: i left lldp TLVs as they seem to be treated opaque.
rest_router: update after packet lib api changes