Add support for accesing a MongoDB connection from the request