added on_demand sockets support to mongodb Emperor plugin