Fix flags for debugger server socket

 * Works on iOS and Android
Fix windows build (nullptr instead of NULL when assigning to std::function)
Merge pull request #2792 from folecr/jsdb

Fix flags for debugger server socket
Update AUTHORS [ci skip]
Merge pull request #2795 from flaming0/sd-func-fix-win-build

Fix VS build (nullptr instead of NULL when assigning to std function)
Updating multi-platform-xxx template for win32.