Add support for setting real IP when behind varnish