Electromagnetic scattering by non-planar junctions of resistive sheets