[Transport] Fixed uncaught exceptions.
Merge pull request #64 from Therzok/master

[Transport] Fixed uncaught exceptions.