Valence ionization of HCl. An investigation of many-body effects