CORS filter for JAX-RS implementation.