Converted PortReader and ChanWriter to use Vec.