A basic chat application that utilizes streams