Introduce interface Message to treat all messages uniformly
Add constant to express version number of wire protocol