Modify joinSession.
Remove tabs and space.
Post an event to discard viewer.

Event posted when the re could not be reloaded.
Create new session if failed to join.
handle differently dns for testing.
Print out error.
Check early if network I/F is up or loopback