added https checking capabilities so users can enforce secure connections to all or one controller