Fix "HTTPConnection instance has no attribute 'getreply'" issue
Fix "HTTPConnection instance has no attribute 'getreply'" issue

Apply and adapt patches from https://bugzilla.redhat.com/show_bug.cgi?id=621298

Signed-off-by: Stoicescu Corneliu <46dc5ad8e67c8293d5070415ecb6eec32f417b72@intel.com>

numafrecati/testopia-XMLRPC_python