module.exports = function trimMessyHeaders(headers) {
  delete headers.remove('content-length');
  delete headers.remove('transfer-encoding');
  delete headers.remove('connection');
  delete headers.remove('date');
};

@@ -49,23 +49,16 @@
 rs) %7B%0A  
-delete 
 headers.
@@ -69,17 +69,17 @@
 ve('
-c
+C
 ontent-
-l
+L
 engt
@@ -81,31 +81,24 @@
 Length');%0A  
-delete 
 headers.remo
@@ -105,17 +105,17 @@
 ve('
-t
+T
 ransfer-
 enco
@@ -110,17 +110,17 @@
 ransfer-
-e
+E
 ncoding'
@@ -120,31 +120,24 @@
 coding');%0A  
-delete 
 headers.remo
@@ -140,17 +140,17 @@
 remove('
-c
+C
 onnectio
@@ -160,15 +160,8 @@
 ;%0A  
-delete 
 head
@@ -172,17 +172,17 @@
 remove('
-d
+D
 ate');%0A%7D

Address fat-fingers bits in trimMessyHeaders().