Swimming of the midge larva: Principles and tricks of locomotion at intermediate Reynolds number