kie-remote-client: isolating supported classes (cherry picked from commit a29fbe19101e7f7575a1051b50f202b599a478dd)