more careful checking of transport types following use in node/localHost_test.go