Added same-socket multi-threading for TCP listener on windows