COOK-4730 use correct ip address, netmask based on listen_interface attribute