moved to leave/join to server. Added class for getting address from localserver.