Implement Protocol/rules for communicationi between client - server. Bugs exist.
various fixes, added missing implementations of Protocolv1.
various fixes.