Add license headers
Fix *_CFG packet handling