Shippers scramble for ways to guard against pirates