Canada and the European Union have drafted a joint statement setting out steps to deepen ties on digital security, defence and resources ahead of a summit at the end of the month.