126.96.36.199.14 Rules for the wxf:Connect Message
A client uses the wxf:Connect message to connect to an existing RunspacePool on the server, as specified in section 188.8.131.52.14.
Upon receiving this message, the server compares the "protocolversion" option against the value "2.2" (see section 184.108.40.206.1). The server MUST send a wxf:Fault message as specified in section 220.127.116.11.2 when either of the following conditions is true:
The "protocolversion" option is missing.
The "protocolversion" option is present, but the major version number of the value it contains is not equal to 2.
The wxf:Connect message will contain "connectXml" data, as specified in section 18.104.22.168.14. The server decodes this Base-64 data and processes the message per the rules described in section 22.214.171.124. The server expects this payload to contain a SESSION_CAPABILITY message followed by a CONNECT_RUNSPACEPOOL message. If the expected payload is not found, the server MUST send a wxf:Fault message to the client.