Support for parsing commands from a header.

This allows us to parse a configurable header for commands too, by
setting the CommandByMailHeader setting.