Nonlocal Problems in Electromagnetism