PSGI handler for Mason