Fixed PHP-1111: MongoClient constructor crashes on connection to slave.

https://jira.mongodb.org/browse/PHP-1111
Wont this fail on 2.6?