moved messaging-parsing responsbility to protocol