Add the ability for the client to leave a realm

This allows a client to reconnect to a different realm without disconnect from the websocket entirely