Fixed missing cmake declaration
Made all local functions static
Moved payload decoding to a switch statement
Tried to dissect some infos later
Got rid of forward declarations with better code layout
Updated release notes