Update to use rpclib rather than a bespoke xmlrpc lib

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>