Fix Connection check
"Keep-Alive".casecmp('close') returns 1 which evaluates to true. If
casecmp sees equal values it returns 0 so check for that explicitly.
Ensure Connection header logic is tested
Merge pull request #351 from mikehale/fix-connection-always-closed

Fix connection always closed