Add simple XMLRPC client and graceful server shutdown