staticClient.connect(): don't handshake twice (fixes #2547, #2548)
staticClient.connect(): don't handshake twice (fixes #2547, #2548)

The first handshake occurred before setting the Deadline, which could
cause an unintended hang.

AudriusButkevicius/syncthing,wweich/syncthing,letiemble/syncthing,syncthing/syncthing,le9i0nx/syncthing,kluppy/syncthing,canton7/syncthing,kluppy/syncthing,jgke/syncthing,rumpelsepp/syncthing,TheBigBear/syncthing,wweich/syncthing,TheBigBear/syncthing,wweich/syncthing,cherylquirion/syncthing,kluppy/syncthing,jgke/syncthing,imsodin/syncthing,kamadak/syncthing,toddleish/syncthing,imsodin/syncthing,uok/syncthing,rumpelsepp/syncthing,kamadak/syncthing,brgmnn/syncthing,kralo/syncthing,kluppy/syncthing,bigscoop/syncthing,bigscoop/syncthing,letiemble/syncthing,wweich/syncthing,kc1212/syncthing,alex2108/syncthing,toddleish/syncthing,ProactiveServices/syncthing,xduugu/syncthing,kamadak/syncthing,xduugu/syncthing,jryans/syncthing,norgeous/syncthing,Kudalufi/syncthing,canton7/syncthing,imsodin/syncthing,imsodin/syncthing,TheBigBear/syncthing,bigscoop/syncthing,nrm21/syncthing,xduugu/syncthing,nrm21/syncthing,Kudalufi/syncthing,syncthing/syncthing,rumpelsepp/syncthing,uok/syncthing,kralo/syncthing,ProactiveServices/syncthing,toddleish/syncthing,rumpelsepp/syncthing,Kudalufi/syncthing,lkwg82/syncthing,syncthing/syncthing,plouj/syncthing,toddleish/syncthing,letiemble/syncthing,alex2108/syncthing,AudriusButkevicius/syncthing,kralo/syncthing,brgmnn/syncthing,letiemble/syncthing,kralo/syncthing,xduugu/syncthing,syncthing/syncthing,cherylquirion/syncthing,norgeous/syncthing,imsodin/syncthing,norgeous/syncthing,ProactiveServices/syncthing,AudriusButkevicius/syncthing,AudriusButkevicius/syncthing,syncthing/syncthing,jryans/syncthing,uok/syncthing,nrm21/syncthing,jgke/syncthing,plouj/syncthing,kamadak/syncthing,plouj/syncthing,canton7/syncthing,nrm21/syncthing,lkwg82/syncthing,syncthing/syncthing,canton7/syncthing,Kudalufi/syncthing,alex2108/syncthing,plouj/syncthing,TheBigBear/syncthing,cherylquirion/syncthing,brgmnn/syncthing,norgeous/syncthing,kc1212/syncthing,uok/syncthing,kc1212/syncthing,jgke/syncthing,cherylquirion/syncthing,brgmnn/syncthing,jryans/syncthing,ProactiveServices/syncthing,lkwg82/syncthing,lkwg82/syncthing,le9i0nx/syncthing,le9i0nx/syncthing,kc1212/syncthing,alex2108/syncthing,bigscoop/syncthing,le9i0nx/syncthing,jryans/syncthing