NetUtils: use IPRoute instead of IPRSocket

Since IPRoute became threadless, it is simpler to use IPRoute
methods like `get_links()` to gather the info.