support chained proxies
Merge pull request #36 from danny8376/MyMod

support chained proxies