Fix. getaddrinfo and setsockname

I tested this on WinXP. (MSVC 2010 / mingw)
All test passed.
But i do not use make file. 
For build luasocket i use my lake file.
May be we should test getaddrinfo on Vista/Win2k8