Adding support for Hapi 6.x

Just a couple updates to make compatible with the latest major version of Hapi. If there were other reasons to hold it at 2.x.x let me know and I can add backwards compatibility.