                 'X-Content-Type-Options' : 'nosniff'
 
               srcResp.on 'end', ->
+                decr()
                 resp.end()
 
               srcResp.on 'error', ->
+                decr()
                 resp.end()
 
               switch srcResp.statusCode

                  four_oh_four("Responded with #{srcResp.statusCode}:#{srcResp.headers}")

          srcReq.on 'error', ->
            resp.end()

          srcReq.end()


            content_length  = srcResp.headers['content-length']

            if content_length > 5242880
              four_oh_four("Content-Length exceeded")
            else
              newHeaders =
