Add "#define _WINSOCKAPI_" for compile error of openssl
Add disableLoopbackConnection