Fix SSL proxy tunnelling.

Added Host header to CONNECT request, required by some proxies (for example 724 Solutions on swiss network).
Changed status line handling to allow any 2xx response code.
Removed check for empty second line, proxy is allowed to send any number of headers after status line in response.