The EU's chief has called for unity among members and opened the door to a closer alliance with Canada as the bloc faces major headwinds at home and abroad.