Added int encoding to the protocols.
Added a test n to n communication.