fn tls_error(e: Error) -> SyncError
A certificate problem is told apart from a network one: it may be an attack.