update compatibility for hapi v8.x.x (fixes #2)
Merge pull request #6 from cvan/fix-for-hapi-8-v2

update compatibility for hapi v8.x.x (fixes #2)