add client send and receive events