Message / AVP Data Structures + Decoding functions