added abstraction of transportlayer
Merge pull request #1 from xat/master

abstraction of transportlayer