on Join
Handles the join event of a P2P member.
Parameters
from
The username of the member initiating the join.
to
The username of the member the join is directed to.
session Id
The session ID of the WebSocket connection.
socket
The WebSocket session.
Throws
if a member with the same username already exists.