properly check whether connection is mongos Tokutek/mongo#423