Update transport() to generate request/response stubs.

Need to add tests.
Need to add ability to configure generating request or response or both.