publishing the protocol that clients are to follow and fixed a few bugs