* windows/mingw fixes: include net headers before platform headers (winsock/winsock2 insanity), removed an old workaround for now, fixed lua include (uses pkg-config now)
 * fixed the lua arg getters and type checking (properly use (u)int(32|64)_t and (s)size_t)
 * fixed a conversion warning on 32-bit