Fix SSL proxy tunneling.
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.
Merge pull request #297 from zbsz/tls-proxy-fix

Fix SSL proxy tunnelling.