Use HTTPConnection instead of HTTP.

HTTP getfile() and read() was too slow for download tests.