isUnspecified

True for the "unspecified" / any address (0.0.0.0 or ::). This is the analogue of comparing against a default-constructed address. libtorrent's add_peer ignores such endpoints.