Added options to set chat subdomain.