Add a base transport class

This patch adds a base transport class which should be used by all
transports implementations. The patch also adds a Response class, which
implements a common response object to use between the client API and
the transport API.

Change-Id: I9dff8ed9592076e7bc7da55d7717de2a5829f5f3
Merge "Add a base transport class"