final HttpHost targetHost = URIUtils.extractHost(u);
return new VegaURI(targetHost, u.getPath(), u.getQuery());
}
private boolean isTargetInScope(URI target) {
final ITargetScope activeScope = scopeTracker.getCurrentActiveScope();
if(activeScope == null) {
return false;
}
return activeScope.filter(target);
}