change to System.getProperty("TRANSPORT_MODE")