updated plugin for Hapi 8.0.0

There are some changes in Hapi 8.0.0 that causes this plugin to return an empty 200 response for every request.