ws: First give libssh chance to handle socket errors
ws: First give libssh chance to handle socket errors

We handle them as a last resort, but let libssh at the errors
first so we can hopefully get more intelligent errors based on
its state.

Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

netzvieh/cockpit,darioajr/cockpit,Armstrong1992/cockpit,zigitax/cockpit,harishanand95/cockpit,cockpit-project/cockpit,vanloswang/cockpit,arilivigni/cockpit,Scribery/cockpit,vbatts/cockpit,harishanand95/cockpit,andreasn/cockpit,FireDrunk/cockpit,evol262/cockpit,firebitsbr/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,kkaempf/cockpit,Armstrong1992/cockpit,xhad/cockpit,Scribery/cockpit,fridex/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,nmav/cockpit,vbatts/cockpit,sub-mod/cockpit,cockpit-project/cockpit,sgallagher/cockpit,Armstrong1992/cockpit,moraleslazaro/cockpit,xhad/cockpit,sgallagher/cockpit,sub-mod/cockpit,nmav/cockpit,netzvieh/cockpit,mvollmer/cockpit,stefwalter/cockpit,evol262/cockpit,netzvieh/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,haiyangd/cockpit_view,dperpeet/cockpit,dperpeet/cockpit,zigitax/cockpit,maxamillion/cockpit,larskarlitski/cockpit,jscotka/cockpit,firebitsbr/cockpit,Thermionix/cockpit,moolitayer/cockpit,haiyangd/cockpit_view,kkaempf/cockpit,sub-mod/cockpit,andreasn/cockpit,matobet/cockpit,larsu/cockpit,moolitayer/cockpit,matobet/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,fridex/cockpit,martinpitt/cockpit,netzvieh/cockpit,cockpituous/cockpit,deryni/cockpit,evol262/cockpit,larskarlitski/cockpit,sgallagher/cockpit,andreasn/cockpit,arilivigni/cockpit,sub-mod/cockpit,moraleslazaro/cockpit,sub-mod/cockpit,harishanand95/cockpit,vanloswang/cockpit,vbatts/cockpit,netzvieh/cockpit,deryni/cockpit,vanloswang/cockpit,maxamillion/cockpit,martinpitt/cockpit,mvollmer/cockpit,larskarlitski/cockpit,xhad/cockpit,darioajr/cockpit,larsu/cockpit,vanloswang/cockpit,zigitax/cockpit,larskarlitski/cockpit,FireDrunk/cockpit,Thermionix/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,andreasn/cockpit,denysvitali/cockpit,xhad/cockpit,cockpit-project/cockpit,kkaempf/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,matobet/cockpit,mvollmer/cockpit,maxamillion/cockpit,moolitayer/cockpit,Scribery/cockpit,evol262/cockpit,denysvitali/cockpit,sgallagher/cockpit,petervo/cockpit,fridex/cockpit,jscotka/cockpit,darioajr/cockpit,zigitax/cockpit,FireDrunk/cockpit,sgallagher/cockpit,harishanand95/cockpit,Scribery/cockpit,darioajr/cockpit,sgallagher/cockpit,moraleslazaro/cockpit,denysvitali/cockpit,Scribery/cockpit,deryni/cockpit,nmav/cockpit,dperpeet/cockpit,firebitsbr/cockpit,Thermionix/cockpit,petervo/cockpit,SotolitoLabs/cockpit,firebitsbr/cockpit,petervo/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,vanloswang/cockpit,jscotka/cockpit,andreasn/cockpit,petervo/cockpit,xhad/cockpit,mareklibra/cockpit,larsu/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,kkaempf/cockpit,stefwalter/cockpit,garrett/cockpit,moolitayer/cockpit,maxamillion/cockpit,stefwalter/cockpit,dperpeet/cockpit,fridex/cockpit,stefwalter/cockpit,nmav/cockpit,nmav/cockpit,Thermionix/cockpit,matobet/cockpit,larsu/cockpit,cockpituous/cockpit,cockpituous/cockpit,vbatts/cockpit,xhad/cockpit,evol262/cockpit,fridex/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,petervo/cockpit,cockpituous/cockpit,cockpit-project/cockpit,garrett/cockpit,michalskrivanek/cockpit,garrett/cockpit,deryni/cockpit,cockpituous/cockpit,dperpeet/cockpit,vanloswang/cockpit,petervo/cockpit,zigitax/cockpit,mareklibra/cockpit,arilivigni/cockpit,evol262/cockpit,matobet/cockpit,arilivigni/cockpit,michalskrivanek/cockpit,garrett/cockpit,michalskrivanek/cockpit,Thermionix/cockpit,firebitsbr/cockpit,FireDrunk/cockpit,martinpitt/cockpit,larskarlitski/cockpit,maxamillion/cockpit,Armstrong1992/cockpit,kkaempf/cockpit,mareklibra/cockpit,Thermionix/cockpit,haiyangd/cockpit_view,cockpit-project/cockpit,haiyangd/cockpit_view,stefwalter/cockpit,haiyangd/cockpit_view,larsu/cockpit,garrett/cockpit,fridex/cockpit,Scribery/cockpit,Scribery/cockpit,arilivigni/cockpit,jscotka/cockpit,jscotka/cockpit,vbatts/cockpit,denysvitali/cockpit,sgallagher/cockpit,larsu/cockpit,SotolitoLabs/cockpit,dperpeet/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,matobet/cockpit,deryni/cockpit,larskarlitski/cockpit,martinpitt/cockpit,deryni/cockpit,vanloswang/cockpit,mareklibra/cockpit,cockpituous/cockpit,mareklibra/cockpit,jscotka/cockpit,harishanand95/cockpit,denysvitali/cockpit,FireDrunk/cockpit,deryni/cockpit,andreasn/cockpit,darioajr/cockpit,larskarlitski/cockpit,stefwalter/cockpit,martinpitt/cockpit,petervo/cockpit,vbatts/cockpit,xhad/cockpit,netzvieh/cockpit,moolitayer/cockpit,mvollmer/cockpit,dperpeet/cockpit,Armstrong1992/cockpit