Use getRemoteAddress which supports reverse proxies