Fullcircle network protocol in c. Workaround for Protobuf.