Upgraded to hapi v8.0. TODO: update hapi dependency once the npm module has been updated.