mi_xmlrpc_ng: escape special characters