@@ -0,0 +1,640 @@
+package org.littleshoot.proxy;%0A%0A/**%0A * Tests a proxy chained to a missing downstream proxy. When the downstream%0A * proxy is unavailable, the upstream proxy should just fall back to a direct%0A * connection.%0A */%0Apublic class ChainedProxyWithFallbackTest extends BaseProxyTest %7B%0A    private static final int DOWNSTREAM_PROXY_PORT = PROXY_SERVER_PORT + 1;%0A    private static final String DOWNSTREAM_PROXY_HOST_AND_PORT = %22127.0.0.1:%22%0A            + DOWNSTREAM_PROXY_PORT;%0A%0A    @Override%0A    protected void setUp() %7B%0A        this.proxyServer = TestUtils.startProxyServer(PROXY_SERVER_PORT,%0A                DOWNSTREAM_PROXY_HOST_AND_PORT);%0A    %7D%0A%7D%0A

Test and statistics improvements