minor tweaks for hapi 8 compatibility

hapi 8 drops on the 11th, so here's your preparatory pull request :D