Add proxy chain feature. Set HTTP_PROXY or HTTP_PROXY_RULES in prefs.py. see server.proxy.get_proper_proxy for more details