Use callbacks for proxy binding method calls.

If an app is trying to connect to a proxy that's down, this prevents it from
freezing up and allows it to try another proxy if it hears about one.