support new plugin registration process in hapi 6.0.0