abstract fun validate(message: Bytes, peer: Peer): Boolean
Validates that the message from the peer is valid.
message - the payload sent over the network
message
peer - the peer that sent the message
peer
Return true if the message is valid