Changed parent class from Exception to RuntimeException; added copyright
language.
Initialized forceHttps to false.
Separated checkForHttps cases into separate test methods.
Corrected bean setup for checkForHttps case tests.