switched examples/securityRealm to https-only
improved integration test in examples/securityRealm: made integration test protocol-agnostic