normalise broken requests when acting as a proxy for curl