debug mode allow invalid ssl certificates