Adaptive Contagion