use correct scheme for J2E web contexts