As a method of precaution, and too be able to well, "not hold back" with his little Brother if upset. Melissa made sure Soro would be able to handle electric attacks!
This is why Soro can hold and punch Eels under water, as he is technically immune.