Spike towards server-controlled immediate printing.

This relates to #8, and explores using a single encoded header to
simplify parsing of more complex parameters from the server.