Add hashCode to all Protocol messages.

Signed-off-by: Nick Minkler <sleaker@gmail.com>