rename directory into 'socket'