Called to create a new connection on top of the given stream. If this is a TLS stream, then this function may be used to proxy a TLS stream over an HTTP CONNECT session. If this is unset, then HTTP CONNECT proxies will not be supported.
0 or an error code
See Implementation
Called to create a new connection on top of the given stream. If this is a TLS stream, then this function may be used to proxy a TLS stream over an HTTP CONNECT session. If this is unset, then HTTP CONNECT proxies will not be supported.