Protocol validator implementation.
Default protocol validator added.
Ability to add custom protocol validator.