Update winsock.d

Avoid pulling in all of std.c.windows.windows for Winsock.
Also changed a few conts to enums where appropriate.