[wip] Emit a proxy-connect event so the client can perform a TLS handshake at the right time.