refactor: simplify Network
with Framed<.., Codec>
#825
Merged
Network
with Framed<.., Codec>
#825