fix copy and assignment of xmlrpc client
implement unittest for multiple parallel rpc calls