Design issues of the proton source for the ESS facility