emit socket upgrade event after upgrade done
Merge pull request #254 from mokesmokes/upgradeEvent

document Socket.upgrade event, and fix its timing just after setTranspor...