RESTEASY-1131: Creates a proxy from the resource class instead of the
invoked method's class.
Merge branch 'Branch_2_3_1029842' into Branch_2_3_new