New java bindings REST client

I implemented interfaces that can be used by the embedded and REST client implementation
I implemented a Java REST client using those interfaces.

It makes it possible that you can can easily switch from the embedded proxy to a remote proxy, ONLY by changing the constructor.