Switch host type based on ssl configuration.