chat server prototype