Connectedness and Contagion (Protecting the Financial System from Panics)