Transport update.
Fix race condition in transport unit test.
Merge pull request #165 from tbak/2.x

Transport update.