message: support setting fields with keyword arguments to the constructor

This enables creation of messages in a tree-like fashion.

The basic test module has been converted to the new API.
2 files changed