Event handling changes

- Add event error
- Provide net arguments for events connect, end and error