server responds to client.