Clean up transport stuff out of the resource class

Remove transport related stuff out of the resource class.

Change-Id: Ia7508feb390f786c6b5ea53d9b353a72d3b9993d
Merge "Clean up transport stuff out of the resource class"