HH-45756 Throw VersionException on IllegalClassException. Add new http r...

...esponse code for version mismatch