resolve bind() endpoint in udpserver, allowing to bind to hostname or ipv6 addresses