Working towards combining Brook encoder/decoder into a full-duplex implementation for use over one UDP socket