Fixed reading HTTP CONNECT response. Works with squid, without gateway.