In the code below, we create the socket and bind OnConnected and OnMessage to 2 methods in our class.
In debugging, the breakpoint in UWebsocketComponent::OnConnectedI will fire, but the breakpoint in UWebsocketComponent::OnMessageI will not fire.
Reverting back to UE 5.0 fixes the problem, so I know that the messages are being sent correctly from the server.