Why don't ships use nets to protect themselves?

Reading about how Houthis are attacking ships using cheap hardware that cost a fortune to shoot down, I wonder why ships in dangerous waters can't hang out metal nets (possibly with explosives) to keep the drones and missiles at least a few metres away from the hull.

Why don't ships use nets to protect themselves?
Post Opinion