Rework sockopt translation to match the error translation code already in place
Code style
Added GetSockOptName
Derp: win32: typedef int socklen_t;
But of course, Windows uses 'int' while Linux uses 'socklen_t'
Compiling on Windows now
Formatting...
Addressing PR comments