connector-c-lite: added cpp support, const attrs and optimized encoders.