Added setNetworkAvailability to Transport.