socket listener and muc listener should really get activated when the xmppclient is initialized without error
refactor: reduce variable