hapi 3.0 support. Closes #11