Implements renaming for sockets and in general makes more things in remote fragment work