Introduce versioning in the protocol

Use the simplest criterium when parsing messages: rejecting messages with any version
other than the current one.
Merge pull request #129 from sortega/feature/versioning

Introduce versioning in the protocol