Add support for all binary message types including the new 'passthrough' command.

This resolves #60, #49 and #62.