Network stream API.