redesigned the protocol
separated concerns for reliable and unreliable transport