This reverts commit cb2c421fdb. Reason: seems to be broken on W32, no response on http socket
cb2c421fdb