xmlrpc.inc: Converted $GLOBALS array to internal class Xmlrpc

This way $GLOBALS array won’t be polluted with internal data of
us, and if something else does something to that array, it
won’t affect us anymore.