- implement the REPLACE command in smd-client
