Fix network connect event
Add autojoin/autoconnect
Fix Network#connect()