Fix bug where localstream is not closed when receiving end connection event
Merge branch 'dev' of github.com:JamieWoodbury/Dragonfly-Client into dev