fixed Host header replacement - remembers if header is already replaced and does not remove _transform method