Fixes for Connection: close

Pro-actively close the connection on Connection: close, otherwise the next
request will get hit by the server close.

Repeat the test in t/ to catch the previous request not being closed off
properly.

Moved global vars into EventEmitter::HTTP, making it clearer where to modify
global behaviour.