Democrats near deal on social spending and climate package as Biden heads to Europe