My algorithm:
1. Start by saying something, something neutral/positive or a compliment: "Nice weather, eh?", "Great party!", "Nice tie"
2. Ask questions: "How are you doing ?", "What brought you here ?", "What line of work are you in ?"
3. Repeat #2 until you find something that you have something to say about.
Could be that you discover you're in the same line of work, grew up in the same town, etc
4. Keep your talking time to 50% or less, be sure to throw in questions here and there and respond to the answers.
5. Profit !