Catch proxy errors

If a 502 Proxy Error happens, it is likely that the block was inserted
but the response was not returned in time and it was killed by the
cmsweb frontend. Check if the block is in DBS3 already and if it is
then declare it successful.