Fix #146, make CCIP.equals check class of parameter

Signed-off-by: Ross Allan <rallanpcl@gmail.com>