Adds a bugfix for HTTP connections not ending with Connection: close.