Manage push events received via hooks

Fixed #199