912882: Fix xmlrpc connection class issue for Python 2.7.

(Without breaking earlier versions of Python)