Build fix for Windows setsockopt().
Delete some obsolete stuff.