* Use 'forwarded' always
Getting the remote IP from the socket doesn't work behind a reverse proxy. 'Forwarded' is there to fix there, but wasn't used here.
* Consistently use getRemoteIP() throughout
Stay in line with other modules that do this
* Use getRemoteIP consistently
One more missing case; in this file it isn't helpful, but it is consistent with other files.
Co-authored-by: Sulka Haro <sulka@sulka.net>