Electromagnetic modeling of perfect conductors in an arbitrary host