Extract HTTP CONNECT request and response parsing
Extract HTTP CONNECT request and response parsing

gocyclo complained that the complexity of DialProxy was too
high, and I agree. Moving this into its own function makes it
nicer to look at.

julian-klode/bridgeproxy