SERVER-9704 break out socket init for Windows
SERVER-9702 do not use line comments in one-liners