A model for color screening in a QCD plasma: the roles of thermal gluons and of confinement