Edging closer to a working libevent version - need to change the single evt structure in wsi struct
to have events for each type - i.e. read, write, timeout rather than a single event since it is not
possible to |= and &= event structs