@Override
    public List<Proxy> select(URI uri) {
        boolean ignored = hostToIgnore.equals(uri.getHost()) && portToIgnore == uri.getPort();
        return ignored ? NO_PROXY_LIST : defaultProxySelector.select(uri);
    }
{@link ProxySelector} that ignore system default proxies for concrete host.
<p>
It is important to <a href="https://github.com/danikula/AndroidVideoCache/issues/28">ignore system proxy</a> for localhost connection.
VideoCache/src/main/java/com/yc/videocache/IgnoreHostProxySelector.java