My first guess would be a diptera larva, something like a Muscidae or close family. What is the approximate size? There are some marine diptera families and most of them belong to Dolichopodidae, Ephydridae or Canacidae, but perhaps it may be something else.