how is it possible to start both, a webserver and listening to a tcp socket and then have those
communicating with a separate worker thread.

essentially what i want to do is have a Rest API and a msgpack-rpc that can put/set values into leveldb.
thus leveldb shall run in another thread and both, the web and rpc interface should be able to communicate with it.

i'm more or less stuck in that when i call listenTCP (via msgpack-rpc-d's TCPServer) in main/this there is no valid Task.getThis() and thus runWorkerTaskH fails.