PM::ErrorDocument: removing Content-Encoding and Transfer-Encoding. 

If original response has `Content-Encoding: gzip` or `Transfer-Encoding: chunked` header, 
the error-document will be decoding error in HTTP client.