Dynamics of HIV treatment and social contagion