Removed cloning. Added urlencoding for command and svcdesc.