add support for draft-ietf-idr-aigp-10 and improve --decode