fix ssl, connection error handling in restore
fix ssl, connection error handling in restore

erdincay/gmvault,gaubert/gmvault,gaubert/gmvault,erdincay/gmvault,erdincay/gmvault,guaycuru/gmvault,gaubert/gmvault,guaycuru/gmvault,guaycuru/gmvault