Generally I grab Mojo and move him off the sidewalk, put him in a sit (if i can get his butt to stay on the ground) and bring his leash closer in. I learned to do this when I lived in the Chicagoland area. He will even move himself off the sidewalk if i say "Over."
What i don't like is when people make a big show that they are crossing the street because of my dog. The entire scenario of person walking towards me, crossing the street, getting past us, then crossing back over bugs the crap out of me. My dog is on a six foot leather and brass chain leash, I can shorten it to 3' which is generally what it is at when we are walking in public. He's not going to get "at" anyone on that leash, especially not with me holding it!
I also don't like the insults towards either myself or my dog. But again it's that big show people like to put on sometimes.
I respectfully give dogs room on the sidewalks, and will not approach them unless they approach me in friendliness, then I will ask the owner if it's okay i meet the dog? I generally get yeses, and I act respectful to both dog and owner. When Mojo is with me, I behave the same way...