A next-hop proxy can be configured to forward web traffic under the SOCKS (Sockets) protocol.
Under this protocol, web traffic also follows an embedded protocol, which can be detected on Web Gateway. If the embedded protocol is HTTP or HTTPS, web traffic can be filtered according to the configured rules.
Versions 4 and 5 of the SOCKS protocol can be used for forwarding web traffic. When setting up a next-hop proxy, you can configure the SOCKS version to use. By default, the version of the incoming traffic is also used when it is forwarded.