add equals to adaptive proxy