Capture connection parameters as ConnectionOpts.