ejabberd_c2s_types: do not scale, minor speed improvements, ssl is non-optional
use registered_vhosts if env.hosts is not defined.
use , other fixes