Patch for getting correct IP address, when behind a proxy, such as ARR.