Fix #14: connection pool tries to reuse closed connections

If a reply contains a "Connection: close" header, the connection is
closed and removed from the connection pool.  This fixes the problem
where HTTP tried to reuse connections that had been closed at the
server end, leading to "broken pipe" errors.
Merge pull request #49 from ian-ross/issue-14

Fix #14: connection pool tries to reuse closed connections