Let gunicorn handle X-Forwarded-For for us.
SocketServer.pump_messages: properly exit receive loop when disconnected.