Replace old connect hack with _pipe on windows.