plugin.events is deprecated in Hapi 8.0 -- change plugin variable to 'server'