Updated the class casting so that it works for rest requests also
Merge branch 'fix-security-test-SOAP-442' of github.com:SmartBear/soapui into next