can connect to ejabberd