Boiling eggs in a kettle is a fast and convenient way to cook them, especially if you don't have access to a full kitchen and proper pans for frying an egg (e.g. hotel room). But usually what happens, is if one of the eggs is weak and breaks, you end up with a big mess (egg stuck to the walls of the kettle) spending more time on cleaning than is spent cooking!
So what is the best method to boil an egg using an electric kettle and avoid the mess of a broken egg?