http.py: Implements connection pool cleaning.
http: Adds unit tests to test TCP reset.

Does not reproduce issue at chfoo/wpull#27 :rage:.