remove headers that have been captured in symfony response.