spicec: do not call connect_secure when connect_unsecure fails due to protocol version mismatch (v2)
spicec: do not call connect_secure when connect_unsecure fails due to protocol version mismatch (v2)

If connect_unsecure failed due to protocol version mismatch, don't try to
connect_secure with the same version, but retry (connect_secure or
connect_unsecure) with older version. catch (...) is handled by caller
at RedChannel::run().

This solves the following bug: when "new" Spice client (protocol version 2)
with given secure_port connects to "old" server which is not using the same
secure_port (or not using a secure_port at all), the client exits immediately.

In this scenario, the client first tries to use Spice protocol version 2 to
connect the unsecure port, and altough this fails due to version mismatch, it
tries to connect to the secure port with the same protocol version 2, which is
a wrong behavior, fails due to socket error 10061 (WSAECONNREFUSED -
Connection refused) and handled mistakenly by immediate exit, instead of
retrying with protocol version 1.

fgouget/spice,freedesktop-unofficial-mirror/spice__spice,freedesktop-unofficial-mirror/spice__spice,elmarco/spice,alon/spice-server,dezelin/spice,freedesktop-unofficial-mirror/spice__spice,virtualAMP/spiceplay,virtualAMP/spiceplay,dezelin/spice,alon/spice-server,dezelin/spice,freedesktop-unofficial-mirror/spice__spice,alon/spice-server,virtualAMP/spiceplay,mathslinux/spice,dezelin/spice,freedesktop-unofficial-mirror/spice__spice,SPICE/spice,ya-mouse/spice,mathslinux/spice,virtualAMP/spiceplay,elmarco/spice,elmarco/spice,fgouget/spice,fgouget/spice,alon/spice-server,Fantu/spice,mathslinux/spice,ya-mouse/spice,dezelin/spice,alon/spice-server,Fantu/spice,elmarco/spice,SPICE/spice,mathslinux/spice,SPICE/spice,elmarco/spice,Fantu/spice,mathslinux/spice,Fantu/spice,ya-mouse/spice,fgouget/spice