Add onSessionAccept, handle pending, and store our local state