Jury acquits homeless man accused of beating ex-San Francisc