Unitary treatment of infrared singularities