d89cd118e0
We had a workaround to close connections on very old wininet implementations that would not do it themselves. With the new WinHttp API-using meterpreters and stagers, we no longer should use this workaround. It can actually be actively bad and prematurely close the connection. This needs testing around different payloads, and they should be on real networks, ideally where TCP really has to work to get data transfered.