A role for mucosal immunity in resistance to HIV infection