Ejabberd 14.05 compatibility