Fixed move operation to pass the whole URL as expected

The MOVE and COPY spec expect the "Destination" header to receive the
full URL, not only the root.

Fixes #5942 

Please review @icewind1991 @DeepDiver1975 @karlitschek @schiesbn