add support for hapi.js
1.2.1