add connectTime to clientconnection; fix onDisconnect event in client