revert b4fc237697648234c960f6714d995210d4250e42 to fix Win32 breakage

Test::TCP::CheckPort must be used on win32 because it prints to STDOUT.