Added ejabberd reference code.