Add DELETE command, fix path handling for PUT