Send webcam
Once the connection is established, the client that connected to the other peer
should authenticate himself
with sending the message (no header, no nothing) : "recipientid=X&sessionid=Y\r\n\r\n"
The other peer should then send (if correctly authenticated) the message "connected\r\n\r\n"
The connecting peer should also send "connected\r\n\r\n"
From this point the connection is done and The connecting peer is authenticated
Subsequently, the server may send the encoded data of the webcam in mimic format
Occurs when robot receives a user's chat request (session setup), which
is caused by a user opens a conversation window or session timeout and
then reconnects.