made ssl optional in the config file