Bug #1030125:  rfc822 __iter__ problem

Add iteration support to the Message class.
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 3b4246d..18277d6 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -444,6 +444,9 @@
         """Determine whether a message contains the named header."""
         return name.lower() in self.dict
 
+    def __iter__(self):
+        return iter(self.dict)
+
     def keys(self):
         """Get all of a message's header field names."""
         return self.dict.keys()