chat test client

added chat client for debugging protocol