update Server.js to support latest version of Hapi