make it connecting to ejabberd ok.