minimal win32 socket compat updates

experiment, please ignore for now