Bug 393214: move isRestricted check from Wiring to ElementAnalyzer
Centralize all opening of URLs under Streams.open(url)