Removed call new api to maintain compatibility.

Boost versions greater than 1.46 contains API to connect
a to a series to endpoints, which effectively tries to connect
to a next endpoint in list in case of failure.

Now it is iternally doing the same, and it is compatible with
older Boost API.