Emulate getnameinfo, include config file, add permissions