Homeless man's death treated as homicide