More reliable getting of local IP