I would be a little leary of trying to instantiate a Mongo connection here. I'm thinking it should be injected. The SessionHandler for Mongo injects an instance and checks that it's Mongo or MongoClient. Unless I'm missing it somewhere, ZF2 can still support older Mongo extensions that do not include MongoClient.