Added endianess detection for Windows
Silence cpplint warning
More #define and #include fixes
- Return false for default route and nameservers for now
WSASendMsg is not available on MinGW, so we need to use WSASendTo instead
- More Winsock related changes
Use srand and rand instead of POSIX alternatives on Windows
Use portable utility code to enumerate files
Unbroke line endings
LINT fixes
Another LINT fix
Use localtime instead of localtime_r on Windows
Added workaround for signal thread on Windows