Emit upgrade event after new transport set
added upgrade event timing test
Merge pull request #219 from mokesmokes/upgradeEvent

Emit upgrade event after new transport set