Raise AttributeError on invalid message attributes.

Current behavior is to infinitely recurse until RuntimeError: maximum recursion depth exceeded
Merge pull request #8 from rectalogic/invalid-attr

Raise AttributeError on invalid message attributes.