PYTHON-673 python 2/3 single-source for the bson module
PYTHON-714 Work around localhost exception issues in add_user when connected to MongoDB >= 2.7.1.