Adding support to a new protocol and some formatting changes.
Comments and formatting.
Simplifying to the maximum the replication controller by using protocol objects.
Setting up the two remaining protocols.
Adding the two new protocol files to the background scripts.
Two new protocols that now have a proper prototype object. The functionality was already there but the design was not nice.
Renaming.
Changes on the server side to better manage the cases when there are no registers and server recovery replication is performed.