disconnections - sockts-to-rtc pathway

- Temporary `lib/freedom_bugfix.js` file with things like the missing 'onDisconnect' handler in `core.socket`
- There will be another pull request double checking the rtc-to-net pathways.
- onCloseDataChannel appears to not be firing on the remote peer as well...

Tested: end-to-end