SSLContext.load_dh_params() now properly closes the input file.
Issue #16923: Fix ResourceWarnings in test_ssl.
In test_ssl, threaded tests shouldn't need the "network" resource to be enabled