SERVER-9959: Fix SSL in Tools

Fix SSL by deferring initializers, after CLI parameter parsing. Also
condense tools by merging all identical main functions into tool.cpp.