Tweak ejabberd_listener to allow ejabberd_xmlrpc work properly