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.
xmlrpc.inc: changed verifyhost from 1 to 2.

New PHP versions (PHP 5.3 and so on) does not support CURL’s ssl
host checking option 1 anymore, 2 is enforced or no checks.