expose asTransport
Merge pull request #10 from badamson/master

expose asTransport