Revert "SERVER-9818 allocate socket file descriptors before opening datafiles"

This reverts commit 607ae1384b26ebcb5e275a845f9806104852257f.

Conflicts:
	src/mongo/db/curop_test.cpp
SERVER-8510 Include name of top level section in help string and do not include hidden options
SERVER-8510 Handle default, implicit, and composing options in new configuration parser
SERVER-8510 Added better error messages for Value class and added underscores to member variables
SERVER-8510 Added legacy interface to Environment and Value to ease transition from variables_map
SERVER-8510 Remove all uses of boost direct storage and remove custom boost modifications
SERVER-8510 Allow a positional to be registered for a flag that has already been registered
SERVER-8510 Removed KeyNotFound error code
SERVER-8510 Add function to extract only explicitly set values from Environment
SERVER-8510 Fix handling of options with a short name in option parsing
SERVER-8510 Added tests for dotted names in JSON config file parser
SERVER-8510 Remove forward declaration of Status in the wrong namespace
SERVER-8510 Use BadValue error code in new options parser
SERVER-8510 Use new option parser in mongod and mongos and move parsing into MONGO_INITIALIZERS
SERVER-8886 Correct license exception for headers

Conflicts:
	src/mongo/s/bson_serializable.h
	src/mongo/s/collection_metadata.cpp
	src/mongo/s/collection_metadata.h
	src/mongo/s/collection_metadata_test.cpp
	src/mongo/s/config_server_tests.cpp
	src/mongo/s/d_merge.cpp
	src/mongo/s/d_merge.h
	src/mongo/s/merge_chunks_cmd.cpp
	src/mongo/s/range_arithmetic.cpp
	src/mongo/s/range_arithmetic.h
	src/mongo/s/range_arithmetic_test.cpp
	src/mongo/util/compress.cpp
	src/mongo/util/logfile.cpp
	src/mongo/util/logfile.h
SERVER-9109 continue rather than return on ECONNABORTED and EBADF
SERVER-9818 allocate socket file descriptors before opening datafiles
SERVER-10707 use ScopeGuard to close sockets in setupSockets

fixes coverity leakage report
SERVER-6219: Use ::mongo in macros

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-10520 Disable insecure SSL ciphers