Bug fix *2: recv_ready should update ss->received in the end; put_raw_event should increment data ptr by k(Raw)EventLen.