Implement logout with message function.
If the user changes the serverurl option, immediately logout and
instruct the user to reconnect to initiatlise the new serverurl property