libfetch: fetch_close: make sure conn->ssl is valid before shutting down.