Fixed connection management and master/join-request handling during part...

...ial network split.