add basic chat server and client