minimal client for echo server