LONDON/BRUSSELS (Reuters) - Britain said on Friday a Brexit deal with the European Union could be reached at a summit next month, but EU member Ireland said the sides were far from agreement and London had not yet made serious proposals. Three years after Britons voted to leave the EU, hopes of a breakthrough over the terms of its departure have been stoked in recent days by British Prime Minister Boris Johnson saying the shape of a deal is emerging and European Commission President Juncker saying agreement is possible. But diplomats say the two sides are split over London’s desire to remove the Irish border “backstop” from the divorce deal struck by Johnson’s predecessor, Theresa May, and then work out a replacement in coming years. The backstop is an insurance policy to keep the 500-km (300-mile) border between Ireland, which will remain in the EU, and the British province of Northern Ireland open after Brexit. “We both want to see a deal,” British Brexit Secretary Stephen Barclay said after talks in Brussels with EU negotiator Michel Barnier. “The meeting overran, which signals we were getting into the detail.” “There is a still a lot of work to do but there is a common purpose to secure a deal,” Barclay said, adding that Juncker and Johnson also both wanted a deal. Leaving the EU would be Britain’s biggest shift in trade and foreign policy for more than 40 years and deprive the 28-nation bloc of one of its biggest economies. The EU has set a deadline for a deal to be reached by Oct. 31. British parliament has rejected the deal May agreed with the EU. Johnson has said he wants to secure an amended deal at an EU summit on Oct. 17-18 but that Britain will leave the bloc if that is not possible. He will meet European Council Donald Tusk at the United Nations in New York next week. Ireland is crucial to any Brexit solution. Unless the Irish border backstop is removed or amended, Johnson will not be able to win parliamentary approval but Ireland and the EU are unwilling to sign a deal without a solution to the border. The EU fears a hard border could cause unrest in Northern Ireland and undermine the fragile peace provided by a 1998 peace deal that ended three decades of violence between Irish nationalists seeking a united Ireland, and the British security forces and pro-British “unionists”. The Withdrawal Agreement that was agreed with the EU last November says the United Kingdom will remain in a customs union “unless and until” alternative arrangements are found to avoid the return of border controls in Ireland.