make ipv6 ready

this one line change makes the client library ipv6 ready.