client: update to latest JAX-RS APIs

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>