Story #7424: httplib use of ssl library is deprecated and fails with python version 2.7.9 onwards
Replace httplib low level use in RestClient with the requests library
d1_common_python.RESTClient uses low level functionality for HTTP connections implemented using httplib and socket.
This is inefficient and error prone and is broken as of Python 2.7.9 due to a change in Pythons use of lib_ssl.
This task is to replace the use of socket and httplib with the higher level requests library ( http://docs.python-requests.org/ ).