I do not allow the homeless to approach me that closely. If they start following me I will react defensively, by either confronting them verbally or evading. Unwanted touching may be a criminal act depending on your jurisdiction.