windows: Wrap most Winsock2 Posix functions to set errno