- Added a compile time check that protocol commands are being encoded with proper attachment classes.
- Added two separate Protocol Message methods to encode commands with attachment and without.