Add hapi.js 8 support

This is actually the only relevant change to make this module working with hapi.js 8.0.0