add a wrapper method to access ssh2 events