backward-compatibility for socket.create_connection in 2.6
Closes: #5208
Merge remote-tracking branch 'refs/remotes/kali/bug/soledad-client-socket-2.6' into develop