Added fix for issue 495 - https://github.com/resteasy/Resteasy/issues/495
Merge pull request #496 from hypnopadge/Fix-for-issue-495

Added fix for issue 495 - https://github.com/resteasy/Resteasy/issues/49...