refactor(socket) onConnection: onConnect -> onMessage