Added code to check all the msgs in payload, not just the first one
To make the script work with Python 2.4
Merge pull request #1 from gavin-romig-koch/going-back-upstream

Multiple payloads in a single message