https://issues.jboss.org/browse/RESTEASY-762 looks like this was resolved upstream and an upgrade to RestEasy 3 would resolve the issue
Verified with EAP 6.4.7.CP.CR2.
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.