@Override
    public boolean equals(Object o) {
        if (!(o instanceof NativeRef)) {
            return false;
        }

        return ((NativeRef) o).address == address;
    }
Used to hold onto native OpenSSL references and run finalization on those
objects. Individual types must subclass this and implement finalizer.
common/src/main/java/org/conscrypt/NativeRef.java