Use libsocket on Solaris