Adding user agent filter to JAX-RS calls