Fixed regression in http proxy handling code