[Http]: Fix the loop in WebConnection.ReadHeaders().

We need to reset `gotStatus' each time we enter the outer loop or we
would attempt to interpret the status line as a header.
[Http]: Read version from "HTTP CONNECT" response.

When using "HTTP CONNECT" to create a tunnel to a proxy server,
check the proxy server's response for the HTTP Version and close
the connection if it's HTTP/1.0.