re-enabling shared edit functionality
fixed failed-to-connect bug and session closing bug on client-peer