change MED to use the same packed API as other classes
same for localpref
forgot unpack for aggregator
started to adapt the parsing code