Improved ProtocolTest's implementation.
Moved utilities to ProtocolPayloadUtilities for better re-usability in other tests.
ZContext will no longer be mocked for testing, removed it from constructor arguments.