Pass connection to events

Passing current connection as an argument of the GenericEvent to listeners/subscribers as suggested in issue #8

kind regards
tschebel