avoid close socket when doing upgrade event
Merge branch 'master' of https://github.com/InstantWebP2P/peer-proxy