Add transport to common package.

Reviewed at https://reviews.apache.org/r/22407/