modular: extract the 2 function `inetNtoa` and `inetAton` to utils

`inetNtoa` and `inetAton` is used by `server`, `udprelay` and `local`.