Add functionality to use for only-https or only-http sites, by selectively disabling schemes in session factory