add poll echo client and server code