- move protocol doc to the C version