Feature #4658

Updated by Davide Pesavento over 1 year ago

Extend `ndn::Interest` class to encode and decode the **ApplicationParameters** **Parameters** element. 
 This is part of [[nfd:Packet03Transition]]. 

 `Interest::wireEncode` function should support both v0.2 and v0.3 format. 
 If ApplicationParameters Parameters element is present, it encodes to v0.3 format; when v0.3 format is selected, if any v0.2-only element (such as MinSuffixComponents) was specified, they would not appear in the encoded packet. 
 Otherwise, it encodes to v0.2 format. 

 `Interest::decode03` function should recognize and store ApplicationParameters Parameters element. 
 `Interest::decode02` function remains unchanged.