update Client,  modified httpUploadServerHandler