Emulate the mod_perl2 APR object for use in a PSGI environment.