Apache CXF RS Cross-Origin Resource Sharing - compatibility with CXF 2.x