Rename httpattempts to mediate