An extension theorem from connected sets and homogenization of non-local functionals. (July 2021)