More dead code removal
Added test for falling back to non-chained mode if unable to connect to chained proxy server