[Transport] CloudObserver v0.6 code migration.

Based on cloudobserver.googlecode.com r2380 (v0.6 brunch).