feature(socket) add chdir on cd