Add ClientServlet prototype and fixed some variable names.