KAA-247 Optimize Kaa platform-level protocol for C EP SDK