Remove support for the X-Forwarded-For header.

Follow the tracks of Django where it was removed in version 1.1. The
reasons and a workaround are described here:
https://docs.djangoproject.com/en/dev/releases/1.1/#removed-setremoteaddrfromforwardedfor-middleware

Fix #338.