Actually test 4xx/5xx requests
Clean headers after each request

A header added with setHeader/addHeader was being used on every
request sent by the same client.