dabba: add thread modify rpc call.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
dabbad: replace cast to fix weird bug.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>