Update $_SERVER checks for IP_ADDRESS
Update $_SERVER checks for IP_ADDRESS

Inspired by https://github.com/jasonstockman/csrf-magic/commit/f32890d9de27ffe7c2bb223d900c025f7b80b44e

ezyang/csrf-magic,ezyang/csrf-magic