[CS] No need for a two-step buffer/parse
[CS] No need to speculate on the AMI version before we know it
[CS] Avoid unnecessary string allocation and math when messages are empty