fn parse_http_connect_response(response_bytes: &[u8]) -> Result<u16, ProxyError>Expand description
Parse HTTP CONNECT response and extract status code.
Uses httparse for spec-compliant parsing. Rejects:
- Responses larger than 16KB (prevents header bomb attacks)
- Pipelined data after headers (connection is dedicated to tunnel)