Adds size of serialized event before send.
Read event size first.