rename common.ml to protocol.ml