allow switch https protocol to http regarding ssl parameter