rename parseEvents to parseEvtArray method
More code for parsing handshake
Fix compilation errors in handshake parsing