The previous patch incorrectly claimed that the first rule applied, it is actually the last rule, it just didn't look like it in the code. The attached patch fixes that, and adds debugging of upstream proxy determination. It is cumulative with the previous patch. -Eric
patch.v2
Description: Binary data