Use net/http for doHTTPConnect()
Use net/http for doHTTPConnect()

This makes the code a lot more readable and gets rid of the
one-byte-at-a-time net.Conn readLine implementation. It also
makes the response parsing far more robust with regards to
header fields, trailers, etc.

Fixes #1

julian-klode/bridgeproxy