Feature/java api improvements

Add support for updateDmxData RPC callback by using a separate Thread to read RPC messages.
Disclaimer: I'm not very experienced with Java.

What's the synchronized ( ) { doing?