Proxy handler for hapi