Gabriel, a heroin addict, feels tired, is weak and feverish, and has vague aches and pains. Terrified that he has AIDS, he goes to a doctor and is informed that he is suffering not from AIDS, but from a heart murmur accompanied by endocarditis. What is the most likely way that Gabriel contracted endocarditis?