Rename folders (FIX #456)

As subject, this pull request allows to rename a folder.

I just implemented the client-side part as the server side one was already there.