Use wrap_socket from ssl.SSLContext instead of ssl
Use wrap_socket from ssl.SSLContext instead of ssl

Since Python 3.2 and 2.7.9, it is recommended to use the
SSLContext.wrap_socket() instead of wrap_socket(). The top-level
function is limited and creates an insecure client socket without
server name indication or hostname matching.

[1] https://docs.python.org/3/library/ssl.html#ssl.wrap_socket

Change-Id: I5d61f32760d2715fdb34314f173b0efcec4a2dcf

openstack/tempest,openstack/tempest