Fix tests under Django >= 1.10.3
Fix tests under Django >= 1.10.3

See "DNS rebinding vulnerability when DEBUG=True"
in Django 1.10.3 release notes:
https://docs.djangoproject.com/en/1.10/releases/1.10.3/

vfaronov/django-httpolice,vfaronov/django-httpolice