set None as the default of settings.HTTP_PROXY, move proxy
initialization code to main/__init__.py