Improve IP address logging

Log the real request IP when behind reverse proxy.