(bug 33471) compare detectProtocol to 'https'