Add XML RPC calls.

Signed-off-by: Oleksandr Skuratovskyi <oleksandr.skuratovskyi@toroki.com>