Quick-thinking members of the public averted a catastrophe when a boat caught on fire off Mersea.