fix environment issues in xmlrpc build; refactor client/server helpers; switch to tar -y