refactor UploadServlet, ClientSaxParser