// Communication between server on the one hand and client (wsproxy), and agent on the other. // This is based on GOB and requires sends and receives to match. Keeping the code for sending // and receiving together makes it easier to maintain since this code is tightly couopled and // in this way not spread out. package comms