better usage and switching between ssl