Pirates and jihadis shake up Somalia