capturing http headers in JAX-RS