Add implementation for serialize_event()
Add test file for serializer test
Add test for serializing a ws_message (which is not valid)
Add test for serializing an event
Add test for too small buffer
Removed unused states
Add test for event with ctx: obj-id serialization