A variant of socketpair(2), producing selectable sockets, for use in code that must be portable to win32.