Kai Blin : ws2_32: Rewrite getsockopt to make it more readable.