How to get WebSocket client to use proxy?

I see, thanks for the info. Where would a WebSocket Upgrade come in place? Directly after the TLS handshake or would it be before?