fix error on getRequestIp for localhost requests