Jax-rs client and server builder allowing pure java method calls to communicate using proxies