Don't assume SO_UPDATE_CONNECT_CONTEXT is defined.
Use VerifyVersionInfo rather than GetVersionEx.

GetVersionEx has been deprecated.