Homeless man charged with grooming