Text this: Pirates, markets and imperial authority