Before anything else, when a client connects to a server, it sends a special Message request. Its primary protocolData entry MUST have name 'auth'...
Currently, the BTP plugin sends a WebSocket Ping message before the auth packet is sent. Either the spec should be changed to allow this or the implementation should be changed to ensure that the auth packet is the first one sent.
The BTP spec says:
Currently, the BTP plugin sends a WebSocket Ping message before the auth packet is sent. Either the spec should be changed to allow this or the implementation should be changed to ensure that the auth packet is the first one sent.