Add control mechanism
Define AMP message protocol and add control channel to client.  Add console
program for user control of client.
Add control mechanism and console
Merge branch 'amp'