Better (?) way to get local IP