Add ws_event_new to header
Add ws_event_new to event.c