refactor(socket) add proto