rewritten using libxml2
rewritten using binary messaging over SOCK_DGRAM between eventd and actiond