Editing statusCode assignment for onPreRelease event (line 50). Hapi 3.x request object seems
to have changed structure. request.response is now an object rather than a function.