Added support for proxy. See the settings.py