implementation of mock transport.
Merge pull request #33 from EasonLiao/transport

Implement a mock transport