expose the hapi server