RELP (reliable event logging protocol) protocol C library