Set chat connection depending on host.