Use getIP() instead of wfGetIP, deprecated in 1.19

Change-Id: I2f3a8a6afb75365875c690bad505225d1021ceae