port the client-side implementation from C/C to the internal client. add the test.
Attach a file by drag & drop or click to upload