avoid 'sockaddr' struct redefinition error in MOOSLock

"winsock2.h" must be included
"windows.h" must be the last file included to avoid redefinition error