Merge pull request #13 from HernanRivasAcosta/master

Parity
Merge pull request #14 from HernanRivasAcosta/master

Parity
added validation checks
Merge pull request #21 from inaka/hernan.message_checks

Adds validation checks for messages