Return event from peek

Previously we were returning the response code from the underlying library call. This change means we now return the event data so we can see what event, if any, was triggered.