move the socket/nsl check up, add solaris