return correct local address for wifi on iOS