Fix errors when using default bind_addresses with replication/metrics listeners.