ISPN-4467 keySet operation via HotRod in compatibility mode throws Class...

...CastException

https://issues.jboss.org/browse/ISPN-4467