refix protocol
connection + messages