modified rest.py: fixed 'monkey patch' to overcome 'wrap_socket_patched() got...

modified rest.py: fixed 'monkey patch' to overcome 'wrap_socket_patched() got an unexpected keyword argument 'ciphers'' error with sleekxmpp
10 jobs for fix_2.6.6_monkeypatch in 4 minutes (queued for 4 seconds)
Status Job ID Name Coverage
  Build
passed #372343
build:debian:jessie

00:03:10

passed #372344
build:debian:stretch

00:01:20

passed #372342
build:el7

00:01:03

passed #372341
build:tarball

00:00:20

 
  Test
passed #372350
docs

00:00:47

passed #372345
test:python2.7

00:00:29

passed #372346
test:python3.4

00:00:31

passed #372347
test:python3.5

00:00:31

passed #372348
test:python3.6

00:00:31

passed #372349
test:python3.7

00:00:28