use closesocket insteadof close on windows
Merge branch 'fix-console-windows-crash' of https://github.com/heliclei/cocos2d-x into testconsolebug