https://github.com/mongodb/mongo-php-driver/pull/584