Fix failure to connect to Cassandra socket on Mac (bug #1 - thanks twittner for the fix)
AFAICS this bug seems to be caused by the way addresses are resolved and sockets are created.

    The order of AddrInfo values returned by getAddrInfo is potentially different on different Unixes.
    The code specifies no hints as part of the getAddrInfo call, so in addition to Stream sockets one also gets Datagram, Raw etc.
    Sockets are then created by blindly accepting whatever is contained in AddrInfo.
    It seems that on OS X the first AddrInfo value is Datagram which incidentally is connectionless so the connect call is always su
    Using the Datagram socket later causes the aforementioned error because Cassandra is accepting only TCP connections.

The solution is to indicate in getAddrInfo that you are really only interested in Stream sockets.