bug fixed: ignore sigpipe, invalid port value and simple typo.
bug fixed: ignore sigpipe, invalid port value and simple typo.

Elastica/mongo-c-driver-legacy,mongodb/mongo-c-driver-legacy,mongodb/mongo-c-driver-legacy,Elastica/mongo-c-driver-legacy,HeliumProject/mongo-c,Elastica/mongo-c-driver-legacy,HeliumProject/mongo-c,Elastica/mongo-c-driver-legacy,mongodb/mongo-c-driver-legacy,HeliumProject/mongo-c,mongodb/mongo-c-driver-legacy,HeliumProject/mongo-c