Wave to them and smile like you know them. It might make them think that you know them. At the very least, smiling will make you feel better.
I learned to do this when driving in Boston. Aggressive drivers often get really pissed when you wave or blow a kiss at them after they've done something stupid or jerk-ish. Plus, it always made me laugh and that just makes me feel better!